﻿namespace CourseManagerment.ViewModel
{
    public class CategoryItemModel
    {
        public CategoryItemModel()
        {

        }
        public CategoryItemModel(string name, bool state = false)
        {
            this.CategoryName = name;
            this.IsSelected = state;
        }
        /// <summary>
        /// 是否选择
        /// </summary>
        public bool IsSelected { get; set; }
        /// <summary>
        /// 选择的名称
        /// </summary>
        public string CategoryName { get; set; }
    }
}
